import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import XtxUI from '@/components/index'
// 样式初始化
import 'normalize.css'
// 自己的样式文件
import '@/assets/styles/common.less'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)
app.use(XtxUI).use(router).use(pinia).mount('#app')
